/**
 * 
 */
package com.effectiv.gooruda.domain;

import javax.validation.constraints.NotNull;

import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.DBRef;
import org.springframework.data.mongodb.core.mapping.Document;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;


/**
 * @author Dhrubo
 *
 */
@ToString
@Document(collection="t_social_provider")
public class SocialProvider  extends PersistentObject{
	
	
	@NotNull
	@Getter @Setter
	private String name;
	
	@Getter @Setter
	private String description;
	
	@Getter @Setter
	private String type;
	
	@Getter @Setter
	@Indexed(unique=true)
	private String providerKey;
	
	@Getter @Setter
	private String key1;
	
	@Getter @Setter
	private String key2;
	
	@Getter @Setter
	private String key3;
	
	@Getter @Setter
	private String key4;
	
	@Getter @Setter
	private String key5;
	
	@Getter @Setter
	@DBRef
	private Tenant tenant;
}
